#include "main.h"
/*****guitarhua*********/
affirm::affirm(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::affirm)
{
    ui->setupUi(this);
   QObject::connect(ui->yes_btn,SIGNAL(clicked()),this,SLOT(execute()));
}

affirm::~affirm()
{
    delete ui;
}

void affirm::execute()
{
     system(command);
}
